#ifndef _RENDERMANAGER_H_
#define _RENDERMANAGER_H_

#include "IOManager.h"

class RenderView{

public:
	//read data using iomanager
	void ReadDataFromFile(string _fileName);
	//calculate heuristic value
	void CalculateFunctionValue();
	//render model
	void RenderOffModel();
    //render local max min
    void RenderLocalMaxMin();
	void RenderLocalSaddle();
    //trace line
    void RenderTraceLine();
    //render shaded model
    void RenderUnfoldShaderModel();

    void SetNeighborList();
    void CalculateLocalMaxMin();
	void CalculateLocalSaddle();


	void SimplifyMesh();
    void CalculateTraceLine();
    void CalculateUnfoldAngle();
	//
	void SetFaceNeighborList();
	//Build graph for unfolding
	void BuildGraph();
	void BreakGraph();
	void CalculateUnfoldCoord();
	void RenderUnfoldModel();


	void SegmentGraph();
private:
	IOManager o_IOManager;

};


#endif _RENDERMANAGER_H_